projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e88a2c5
)
(Fintern): Give keywords a value when interned.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 22 May 1997 06:21:22 +0000
(06:21 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 22 May 1997 06:21:22 +0000
(06:21 +0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index f46fa1717a2bc082163c1a3bd4f853537dd6d818..c6b5f89c755afedfe76390863be45f30ae2019b7 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-2076,6
+2076,9
@@
it defaults to the value of `obarray'.")
sym = Fmake_symbol (string);
XSYMBOL (sym)->obarray = obarray;
+ if (XSTRING (string)->data[0] == ':')
+ XSYMBOL (sym)->value = sym;
+
ptr = &XVECTOR (obarray)->contents[XINT (tem)];
if (SYMBOLP (*ptr))
XSYMBOL (sym)->next = XSYMBOL (*ptr);